<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="WEB-INF/c.tld" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


<html:html locale="true">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>Quiz HomePage</title>
		<link href="default.css" rel="stylesheet" type="text/css" />
	</head>

<body>
<div id="header">
	<div id="logo">
		<h1><a href="#">Quiz</a></h1>
	</div>
	<div id="menu">
		<ul>
			<li><a></a></li>
		</ul>
	</div>
</div>
<html:form action="/register" method="post" focus="name">
<div id="content">
	<div id="sidebar">
		<div id="login" class="boxed">
			<div class="title">
				<h2>Login</h2>
			</div>
			<div class="content">
				<fieldset>
					<label for="inputtext1">*Nome:</label>
					<html:text property="name" />
					<label for="inputtext1">*Login:</label>
					<html:text property="login" />
					<label for="inputtext1">Email:</label>
					<html:text property="email" />
					<label for="inputtext2">*Senha:</label>
					<html:password property="password"/>
					<html:submit value="Registre-se"/>
					<br/>

					<c:if test="${error != null}">
						<c:out value="${error}"/>
					</c:if>					
				     <br/>
				     <br/>
				     *Campos de preenchimento obrigatório
				</fieldset>
			</div>	
		<!-- end #login -->
	</div>
	<!-- end #sidebar -->
	<div style="clear: both;">&nbsp;</div>
	<a href="../<%=request.getContextPath()%>/index.jsp">voltar</a>
</div>
</html:form>
<!-- end #sidebar2 -->&nbsp;
<div id="footer">
	<p id="legal">Copyright &copy; 2008. All Rights Reserved. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
</body>
</html:html>